package com.example.gulimallmember.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 会员等级
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:51:23
 */

@TableName("ums_member_level")
public class MemberLevelEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 等级名称
	 */
	private String name;
	/**
	 * 等级需要的成长值
	 */
	private Integer growthPoint;
	/**
	 * 是否为默认等级[0->不是；1->是]
	 */
	private Integer defaultStatus;
	/**
	 * 免运费标准
	 */
	private BigDecimal freeFreightPoint;
	/**
	 * 每次评价获取的成长值
	 */
	private Integer commentGrowthPoint;
	/**
	 * 是否有免邮特权
	 */
	private Integer priviledgeFreeFreight;
	/**
	 * 是否有会员价格特权
	 */
	private Integer priviledgeMemberPrice;
	/**
	 * 是否有生日特权
	 */
	private Integer priviledgeBirthday;
	/**
	 * 备注
	 */
	private String note;

	public MemberLevelEntity( Long id, String name, Integer growthPoint, Integer defaultStatus, BigDecimal freeFreightPoint, Integer commentGrowthPoint, Integer priviledgeFreeFreight, Integer priviledgeMemberPrice, Integer priviledgeBirthday, String note) {
		this.id = id;
		this.name = name;
		this.growthPoint = growthPoint;
		this.defaultStatus = defaultStatus;
		this.freeFreightPoint = freeFreightPoint;
		this.commentGrowthPoint = commentGrowthPoint;
		this.priviledgeFreeFreight = priviledgeFreeFreight;
		this.priviledgeMemberPrice = priviledgeMemberPrice;
		this.priviledgeBirthday = priviledgeBirthday;
		this.note = note;
	}

	public MemberLevelEntity() {
	}


	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取
	 * @return growthPoint
	 */
	public Integer getGrowthPoint() {
		return growthPoint;
	}

	/**
	 * 设置
	 * @param growthPoint
	 */
	public void setGrowthPoint(Integer growthPoint) {
		this.growthPoint = growthPoint;
	}

	/**
	 * 获取
	 * @return defaultStatus
	 */
	public Integer getDefaultStatus() {
		return defaultStatus;
	}

	/**
	 * 设置
	 * @param defaultStatus
	 */
	public void setDefaultStatus(Integer defaultStatus) {
		this.defaultStatus = defaultStatus;
	}

	/**
	 * 获取
	 * @return freeFreightPoint
	 */
	public BigDecimal getFreeFreightPoint() {
		return freeFreightPoint;
	}

	/**
	 * 设置
	 * @param freeFreightPoint
	 */
	public void setFreeFreightPoint(BigDecimal freeFreightPoint) {
		this.freeFreightPoint = freeFreightPoint;
	}

	/**
	 * 获取
	 * @return commentGrowthPoint
	 */
	public Integer getCommentGrowthPoint() {
		return commentGrowthPoint;
	}

	/**
	 * 设置
	 * @param commentGrowthPoint
	 */
	public void setCommentGrowthPoint(Integer commentGrowthPoint) {
		this.commentGrowthPoint = commentGrowthPoint;
	}

	/**
	 * 获取
	 * @return priviledgeFreeFreight
	 */
	public Integer getPriviledgeFreeFreight() {
		return priviledgeFreeFreight;
	}

	/**
	 * 设置
	 * @param priviledgeFreeFreight
	 */
	public void setPriviledgeFreeFreight(Integer priviledgeFreeFreight) {
		this.priviledgeFreeFreight = priviledgeFreeFreight;
	}

	/**
	 * 获取
	 * @return priviledgeMemberPrice
	 */
	public Integer getPriviledgeMemberPrice() {
		return priviledgeMemberPrice;
	}

	/**
	 * 设置
	 * @param priviledgeMemberPrice
	 */
	public void setPriviledgeMemberPrice(Integer priviledgeMemberPrice) {
		this.priviledgeMemberPrice = priviledgeMemberPrice;
	}

	/**
	 * 获取
	 * @return priviledgeBirthday
	 */
	public Integer getPriviledgeBirthday() {
		return priviledgeBirthday;
	}

	/**
	 * 设置
	 * @param priviledgeBirthday
	 */
	public void setPriviledgeBirthday(Integer priviledgeBirthday) {
		this.priviledgeBirthday = priviledgeBirthday;
	}

	/**
	 * 获取
	 * @return note
	 */
	public String getNote() {
		return note;
	}

	/**
	 * 设置
	 * @param note
	 */
	public void setNote(String note) {
		this.note = note;
	}

	public String toString() {
		return "MemberLevelEntity{serialVersionUID = " + serialVersionUID + ", id = " + id + ", name = " + name + ", growthPoint = " + growthPoint + ", defaultStatus = " + defaultStatus + ", freeFreightPoint = " + freeFreightPoint + ", commentGrowthPoint = " + commentGrowthPoint + ", priviledgeFreeFreight = " + priviledgeFreeFreight + ", priviledgeMemberPrice = " + priviledgeMemberPrice + ", priviledgeBirthday = " + priviledgeBirthday + ", note = " + note + "}";
	}
}
